package com.raycloud.erp.omll.data.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 平台同步信息配置表
 * </p>
 *
 * @author 罗泽民
 * @since 2021-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OmallPullOrderVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID，自增")
    private Long id;

    @ApiModelProperty(value = "平台类型")
    private String source;

    @ApiModelProperty(value = "企业ID")
    private Long companyId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户TOken")
    private String token;

    @ApiModelProperty(value = "授权字段列表（authField),json字符串")
    private String authFieldList;

    @ApiModelProperty(value = "是否开启商品同步 1：是，0：否")
    private Boolean itemSyncStatus;

    @ApiModelProperty(value = "是否开启订单同步 1：是，0：否")
    private Boolean tradeSyncStatus;

    @ApiModelProperty(value = "最后一次订单同步时间")
    private Date lastImportTradeTime;

    @ApiModelProperty(value = "最后一次商品同步时间")
    private Date lastImportItemTime;

    @ApiModelProperty(value = "创建时间")
    private Date created;

    @ApiModelProperty(value = "修改时间")
    private Date modified;


}
